package com.yuandian.api.management.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * -实体
 * @author zfsn
 * @date 2023-5-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "", description = "")
@TableName("conf_document_export_info")
public class ConfDocumentExportInfo extends BasePage<ConfDocumentExportInfo> {

	/**
	 *
	 */
	@ApiModelProperty(value = "自增ID", notes = "")
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 *
	 */
	@ApiModelProperty(value = "文档导出申请者id", notes = "")
	private Integer submitterId;

	/**
	 *
	 */
	@ApiModelProperty(value = "文档导出申请者名称", notes = "")
	private String submitterName;

	/**
	 *
	 */
	@ApiModelProperty(value = "文档导出申请提交时间", notes = "")
	private LocalDateTime submitTime;

	/**
	 *
	 */
	@ApiModelProperty(value = "文档导出所在服务名称", notes = "")
	private String serviceName;

	/**
	 * server.servlet.context-path
	 */
	@ApiModelProperty(value = "文档导出所在服务代码", notes = "server.servlet.context-path")
	private String serviceCode;

	/**
	 *
	 */
	@ApiModelProperty(value = "文档导出所在服务名称下的模块名称", notes = "")
	private String moduleName;

	/**
	 *
	 */
	@ApiModelProperty(value = "文档导出按钮名称", notes = "")
	private String exportBtnName;

	/**
	 * 服务端处理所需参数
	 */
	@ApiModelProperty(value = "文档导出申请", notes = "服务端处理所需参数")
	private String docExportParameterJson;

	/**
	 *
	 */
	@ApiModelProperty(value = "文档导出的文档名称", notes = "")
	private String exportFileName;

	/**
	 * 1=处理中,2=处理成功,3=处理异常,4=进入队列中，等待被处理
	 */
	@ApiModelProperty(value = "文档导出申请，服务端处理状态：0=暂未处理", notes = "1=处理中,2=处理成功,3=处理异常,4=进入队列中，等待被处理")
	private Integer docHandleState;

	/**
	 * 服务端处理异常信息
	 */
	@ApiModelProperty(value = "文档导出申请", notes = "服务端处理异常信息")
	private String docHandleError;

	/**
	 * 服务端处理开始时间
	 */
	@ApiModelProperty(value = "文档导出申请", notes = "服务端处理开始时间")
	private LocalDateTime docHandleStartTime;

	/**
	 * 服务端处理结束时间
	 */
	@ApiModelProperty(value = "文档导出申请", notes = "服务端处理结束时间")
	private LocalDateTime docHandleEndTime;

	/**
	 * 文件处理类型
	 */
	@ApiModelProperty(value = "文件处理类型, 1: 业务步骤下载", notes = "文件处理类型, 1: 业务步骤下载")
	private Integer docHandleType;

}